package com.zmn.brs.dubbo.interfaces.objective;

import com.zmn.brs.common.model.dio.objective.ObjectiveWarnDIO;
import com.zmn.brs.common.model.dio.objective.ObjectiveWarnQueryDIO;
import com.zmn.common.dto2.ResponseDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * 类描述：目标指标预警 远程接口
 * @author chongw
 * @since 2021/06/09 11:41
 */
@Api(value = "目标指标预警远程服务", tags = {"目标指标预警远程服务"})
public interface ObjectiveWarnListRemoteService {

    /**
     * 目标监控指标查询
     * @param query 目标监控指标查询入参对象
     * @return com.zmn.common.dto2.ResponseDTO<java.lang.Boolean>
     * @throws
     * @author chongw
     * @since 2021/06/09 11:47
     */
    @ApiOperation(value = "目标监控指标查询", response = ResponseDTO.class, notes = "目标监控指标查询", tags = {"目标监控"})
    ResponseDTO<ObjectiveWarnDIO> listObjectiveWarnByDIO(@NotNull(message = "query不能为空") @Valid @ApiParam(value = "入参", required = true) ObjectiveWarnQueryDIO query);

}
